package com.flyway.dao;

import com.flyway.pojo.Users;
import com.flyway.pojo.sql.SqlLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UsersMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(Users record);

    int insertSelective(Users record);

    Users selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(Users record);

    int updateByPrimaryKey(Users record);

    Users findUserByUserName(@Param("username") String username);

    void insertSelectiveSql(SqlLog sqlLog);
}